import BasePath from "../config";

const couponManagement = {
	path: `${BasePath}/coupon-management/coupon-management`,
	name: 'coupon-management',
	component: () => import('@/views/home/operate-panel/coupon-management/coupon-management.vue'),
	meta: {
		keepAlive: false
	}
}
const couponList = {
	path: `${BasePath}/coupon-management/coupon-list`,
	name: 'coupon-list',
	component: () => import('@/views/home/operate-panel/coupon-management/coupon-list.vue'),
	meta: {
		keepAlive: false
	}
}
export default {
	path: `${BasePath}/coupon-management`,
	name: 'coupon-management',
	component: () => import('@/views/home/operate-panel/coupon-management/index.vue'),
	redirect:`${BasePath}/coupon-management/coupon-management`,
	meta: {
		keepAlive: false
	},
	children: [
		couponManagement,
		couponList,
	]
}